package com.mike.uaa.server.authentication.processors;

import com.mike.uaa.core.Authentication;
import org.springframework.core.Ordered;

/**
 * @author z zhang
 */
@FunctionalInterface
public interface AuthenticationPostProcessor extends Ordered {


    Authentication process(Authentication authentication);

    default int getOrder() {
        return 0;
    }
}
